<?php
global $_RQ,$_AR;
if($_RQ['is_access'] && ($_RQ['onemerchid'] || $_RQ['merchid'])){
	if($_RQ['onemerchid'] || $_RQ['merchid']){
		$_SESSION['onemerchid']=$_RQ['onemerchid']?:$_RQ['merchid'];
	}
	$this->setting=$this->plugin_setting('setting'.$_SESSION['onemerchid']);
}
$return['pluginset']=$this->setting;
$pluginname=$this->session('pluginname')?:'jy_mfee';
if($this->session('footernav')){
	$return['pluginset']['footernav']=$this->session('footernav');
}
$return['sharedata']=array(
			'title'=>$return['pluginset']['share_title']?:'我的小店',
			'desc'=>$return['pluginset']['share_desc']?:$return['pluginset']['title'].'，欢迎光临，我的小店！！',
			'link'=>custom_url('jy_mfee/myshop/main/footernav='.$pluginname.'&mid='.$_SESSION['uid'].'&fromuser='.$_SESSION['uid'].'&onemerchid='.$_SESSION['onemerchid'],true),
			'imgUrl'=>tomedia($return['pluginset']['logo']),
);
?>